﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="recipientappperview.aspx.cs"
    Inherits="LabMS.Web.Equipment.common.recipientappperview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>借出申请查看</title>
    <link type="text/css" rel="stylesheet" href="../../style/screen.css" />
    <link href="../../css/jquery.wysiwyg.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../../style/ie7.css" />
    <![endif]-->
</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        <a href="recipientsapplist.aspx">借出申请列表</a></label>&gt;借出申请查看
                </div>
            </div>
        </div>
        <div class="main">
            <p>
                <% if (UserType == "teacher")
                   {%>
                <asp:Button ID="btnApp" CssClass="button" runat="server" Text="申请" OnClick="btnApp_Click" />
                <asp:Button ID="btnCancelApp" CssClass="button" runat="server" Text="撤销申请" OnClick="btnApp_Click" />
                <%} %>
                <% if (UserType == "mana")
                   {%>
                <asp:Button ID="tbnCheck" CssClass="button" runat="server" Text="审批[通过]" OnClick="btnApp_Click" />
                <asp:Button ID="tbnUnChek" CssClass="button" runat="server" Text="审批[不通过]" OnClick="btnApp_Click" />
                <%} %>
                <% if (UserType == "teacher")
                   {%>
                <input id="btnEdit" class="button" type="button" runat="server" onclick="javascript:if(document.getElementById('tbEType').value==''){window.location.href='reappedit.aspx?ID='+document.getElementById('tbID').value;}if(document.getElementById('tbEType').value!=''){window.location.href='recipientsapplist.aspx?Type='+ document.getElementById('tbEType').value+'\&ID='+document.getElementById('tbID').value;};"
                    value="修改" />
                <%} %>
                <asp:Button ID="btnDel" CssClass="button" runat="server" Text="删除" OnClick="Del_Click" />
                <input id="btnReturn" class="button" type="button" onclick="javascript:if(document.getElementById('tbEType').value==''){window.location.href='recipientsapplist.aspx';}if(document.getElementById('tbEType').value!=''){window.location.href='recipientsapplist.aspx?Type='+ document.getElementById('tbEType').value ;};"
                    value="返回" />
            </p>
            <table border="0" cellpadding="4" cellspacing="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            领用类型:</label></td>
                    <td>
                        <asp:DropDownList ID="ddlEType" Enabled="false" runat="server">
                            <asp:ListItem Text="消耗品" Value="xiaohaopin"></asp:ListItem>
                            <asp:ListItem Text="低值品" Value="lowvalue"></asp:ListItem>
                            <asp:ListItem Text="仪器" Value="yiqi"></asp:ListItem>
                            <asp:ListItem Text="贵重仪器" Value="guizhongyiqi"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            领用仓库:</label></td>
                    <td>
                        <asp:DropDownList Enabled="false" ID="ddlLabs" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            状&nbsp; &nbsp;态:</label></td>
                    <td>
                        <asp:Label ID="lbState" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            申 请 人:</label></td>
                    <td>
                        <asp:Label ID="lbMPerson" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            编 &nbsp; &nbsp; 号:</label></td>
                    <td>
                        <asp:Label ID="tbCNub" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            名 &nbsp; &nbsp; 称:</label></td>
                    <td>
                        <asp:Label ID="lbCName" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            分 类 号:</label></td>
                    <td>
                        <asp:Label ID="lbTypeNub" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            使用方向:</label></td>
                    <td>
                        <asp:DropDownList Enabled="false" ID="ddlArrow" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            领用数量:</label></td>
                    <td>
                        <asp:Label ID="tbUserNub" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            实 验 室:</label></td>
                    <td>
                        <asp:Label ID="tbLabName" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            领用时间:</label></td>
                    <td>
                        <asp:Label ID="tbRecipientsDate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            备 &nbsp; &nbsp;注:</label></td>
                    <td>
                        <asp:Label ID="Comment" runat="server"></asp:Label></td>
                </tr>
            </table>
            <asp:Panel ID="paneltoCheck" Visible="false" runat="server">
                <table>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                审核意见</label></td>
                        <td>
                            <asp:TextBox ID="VerifyComment" Columns="80" Rows="20" TextMode="MultiLine" ToolTip="交流内容 "
                                runat="server"></asp:TextBox></td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="panelExamine" Visible="false" runat="server">
                <table>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                审核人</label></td>
                        <td>
                            <asp:Label ID="VerifyPerson" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                审核时间</label></td>
                        <td>
                            <asp:Label ID="VerifyTime" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                审核意见</label></td>
                        <td>
                            <asp:Label ID="lbVerifyComment" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Label ID="lbErr" runat="server" ForeColor="Red" Text="Err" Visible="False"></asp:Label>
            <asp:TextBox ID="tbEType" runat="server"></asp:TextBox>
            <asp:TextBox ID="tbID" runat="server"></asp:TextBox>

            <script type="text/javascript" src="../../js/jQuery/jquery-1.3.1.js"></script>

            <script type="text/javascript" src="../../js/jQuery/jquery.validate.js"></script>

            <script type="text/javascript" src="../../js/jQuery/jquery.wysiwyg.js"></script>

            <script type="text/javascript">    
        $(function(){
               
                $("#VerifyComment").wysiwyg();    
            });         
            </script>

        </div>
    </form>
</body>
</html>
